<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class CardNum extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'card_nums';
    protected $fillable = ['card_id','key','status'];
    public function card()
    {
        return $this->belongsTo(CardType::class,'card_id','id');
    }
}
